home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
rbbs_pc
/
laston13.zip
/
LASTON.DOC
< prev
next >
Wrap
Text File
|
1991-11-04
|
6KB
|
157 lines
LASTON
RBBS Callers File Lister
v1.30
11-04-91
by Tom Collins
| Changes
| -------
| Changes between LASTON v1.30 and LASTON v1.20 are highlighted with a
| vertical bar in the left column.
What
----
LASTON is a small utility that will read your callers file and create
a bulletin containing the last several callers to your BBS. Text,
ASCII, and ANSI graphics versions are created, and the number of
callers listed and the callers file name can be customized by the
user. In addition, the display colors for the ANSI output file are
configurable, and users can be "excluded" from the output list.
Using it
--------
Using LASTON is pretty annoying:
LASTON <Callers> [/ODx] [/NCx] [/Xn] [/DD] [/FCx] [/TCx]
[/UCx] [/CCx] [/DCx]
The /OD parameter tells LASTON where to put its output files. The
output files are always named the same, but this parameter sets the
drive and directory where it puts 'em. A backslash will be added, if
required. By default, LASTON puts the output files in the current
directory.
The /NC parameter, if used, tells LASTON how many previous callers
to list (1 <= x <= 25). The callers file name must be supplied.
The /X parameter gives LASTON the name of someone to eXclude from the
list. Use an underline to designate a space in a user's name, i.e.
/XTom_Collins. Case (upper or lower) is unimportant. You can also
use the /X parameter to get LASTON to read a file of names to exclude.
Begin the filename with a '@', i.e. /X@EXCLUDED.LST will cause LASTON
to read EXCLUDED.LST for the names to exclude. Enter one name per
line in this file. Up to 20 callers can be excluded.
Use /DD to tell LASTON to display duplicate successive callers. If,
for example, Joe Blow calls five times in a row, and /DD is specified,
Joe will be listed in the output files five times. If no /DD is used,
Joe will only show up once. This is the default.
The /FC, /TC, /UC, /CC and /DC parameters set the ANSI file output
colors. The string specified after the /xC is bracketed with ESC [ at
the beginning, and an m at the end to form an ANSI color string. So,
to set a frame color of bright yellow, you'd put /FC1;33 to generate
. The colors are:
/FC - color of the Frame around the displayed users.
/TC - Title color. The "The last 10 callers were..." line.
/UC - User's name color.
/CC - color of the user's City and state.
/DC - color of the user's Date and time on.
To obtain the ANSI color equivalents, consult your DOS manual.
Running LASTON with no parameters displays a help screen.
The '/' parameters can be in any order.
LASTON will generate three output files, called LASTON, LASTONG, and
LASTONC. You should copy or rename these to something that your users
can view. On the MSFA BBS, we copy them to the PRELOG file, though
it could be just as easily appended to your WELCOME file(s).
Examples
--------
1. Display the last 5 callers.
LASTON callers
2. Display the last 10 callers, and make the frame bright blue.
LASTON callers /NC10 /FC1;34
3. Display the last 20 callers, and display the same user multiple
times if he/she called multiple times in a row.
LASTON c:\rbbs\callers /DD /NC20
4. Display the last 5 callers, except when Tom Collins calls.
LASTON callers /XTom_COLLIns
Latest Version
--------------
The latest version of LASTON is always available on the MSFA BBS
(301-536-1935, FidoNet 1:261/1047) for P)ersonal download or file
request.
| Version 1.30
| ------------
| LASTON version 1.30 is a small enhancement that deals properly with
| RBBS v17.3C's logging format (it uses BPS instead of BAUD in the
| callers file). The problem was first noted by SysOp Sam Coleman and
| originally fixed by another SysOp (whose name I forgot to write down -
| sorry 'bout that). Version 1.30 is the "official" fix, identical to
| the one that Sam sent me.
Version 1.20
------------
LASTON version 1.20 adds the following enhancements and changes:
o LASTON is now somewhat faster in reading the CALLERS file.
o The /OD parameter was added.
o /X can now read a list of names to exclude.
o A bug in the writing of the color output file was fixed. It
seems that if a background color was selected on the command line,
LASTONC produced a rather strange looking output.
o The dupe-checking for duplicate last callers was enhanced, and
LASTON should NEVER show duplicates anymore (It previously did if an
excluded name logged on between successive non-excluded users, or a
person logged on with "Access Denied").
All of the changes in v1.20 were suggested by RBBS SysOp Sam Coleman.
Bugs
----
LASTON has no bugs. However, if you find that LASTON needs an
"enhancement," feel free to fix it yourself and send me the change.
Source Code
-----------
The source code, written in TurboC, is included.
Guarantees
----------
LASTON will never crash your system or delete or overwrite files.
Usually.
Good Luck!
-- Tom Collins